/**
 * Created by Weizehua on 2017/1/17.
 */
import {Injectable} from "@angular/core";

@Injectable()
export class ServerInfoService {
    host = 'https://localhost:1234/';

    buildRequestPath(path: string) {
        return this.host + (path[0] === '/' ? path.substr(1) : path);
    }
}

